import java.net.SocketException;
import java.net.UnknownHostException;

public class Man {
    public static void main(String[] args) throws SocketException, UnknownHostException {
        // 发 9001 是女方监听的端口
        new Thread(new UdpSend("127.0.0.1", 8001)).start();
        // 接
        new Thread(new UdpReceive(8002,"女生")).start();


    }
}
